// app.js
import { getOpenid } from './utils/index'
App({
  async onLaunch() {
    this.globalData.userInfo.openid = await getOpenid()
  },
  globalData: {
    userInfo: {
      openid: ''
    }
  }
})
